<%@page import="entities.MetaSeo"%>
<%@page import="helpers.StringHelper"%>
<%@page import="java.util.TreeMap"%>
<%@page import="java.util.Map"%>
<%@page import="helpers.UrlHelper"%>
<%
String name = (String) request.getAttribute("name");
MetaSeo metaseo = (MetaSeo) request.getAttribute("metaseo");

//Set content for Seo
Map<String, String> replates = new TreeMap<String, String>();
replates.put("__SERVER_NAME__", UrlHelper.getDomainServer(request));
replates.put("__SERVER_URL__", UrlHelper.getServerUrl(request));
replates.put("__DOMAIN_NAME__", name);

String title = StringHelper.replateContent(metaseo.getTitle(), replates);
String description = StringHelper.replateContent(metaseo.getDescription(), replates);
String keywords = StringHelper.replateContent(metaseo.getKeywords(), replates);
String url = StringHelper.replateContent(metaseo.getOgurl(), replates);
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/templates/default/layouts/header.jsp">
	<jsp:param name="title" value="<%=title %>" />
    <jsp:param name="description" value="<%=description %>" />
    <jsp:param name="keywords" value="<%=keywords %>" />
    <jsp:param name="ogtitle" value="<%=title %>" />
    <jsp:param name="ogurl" value="<%=url %>" />
    <jsp:param name="ogdescription" value="<%=description%>" />
</jsp:include>

		<div class="row-fluid clearfix">
			<!-- Main Content -->
			<div class="span9 main-content domain-info">
				
				
				<section class="staticpage">
					<div class="block">
						<div class="block-content no-bg">
							<h4>Find more infomation about </h4>
							<div class="row-fluid f-info">
								<div class="span12">
									<h6>Find more infomation about <%=name %></h6>
									<ul>
										<li>
											Trace IP - <a target="_blank" href="http://www.traceip.us/domain/<%=name%>"><%=name%></a>
										</li>
										<li>
											SiteWhois - <a target="_blank" href="http://www.sitewhois.us/whois/<%=name%>"><%=name%></a>
										</li>
										<li>
											Epufloor - <a target="_blank" href="http://www.epufloor.net/info/<%=name%>"><%=name%></a>
										</li>
										<li>
											Domainworlds - <a target="_blank" href="http://www.domainworlds.net/s/<%=name%>"><%=name%></a>
										</li>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</section>
				
			</div>
			<!-- Main Content -->
			
			<!-- slidebar BEGIN -->
			<jsp:include page="/templates/default/elements/right.jsp">
				<jsp:param name="hasAdv" value="false"/>
			</jsp:include>
			<!-- slidebar END -->
		</div>

<jsp:include page="/templates/default/layouts/footer.jsp" />